<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单文件上传</title>
</head>
<body>
    <h3>表单文件上传</h3>
    <form action="." method="post" enctype="multipart/form-data">
        {% csrf_token %}
        {{ form.as_p }}
        <input type="submit" value="提交表单">
    </form>
</body>
</html>